package cn.susu.test.service;

import cn.susu.test.dao.EmployeeDao;
import cn.susu.test.entity.Employee;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EmployeeService {
    @Autowired
    EmployeeDao employeeDao;

    public Employee getEmp(Integer empno) {
        return employeeDao.getOne(empno);
    }
}
